<template>
  <div class="swiper">
    <!-- <el-carousel height="185px">
      <el-carousel-item v-for="item in swiperList" :key="item.id">
        <img :src="item.imgUrl" alt="" class="img">
      </el-carousel-item>
    </el-carousel> -->
    <van-swipe :autoplay="3000">
      <van-swipe-item v-for="item in swiperList" :key="item.id">
        <img v-lazy="item.imgUrl"  class="img"/>
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  props: ["swiperList"],
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
.swiper {
  width: 100%;
  margin-top: 5.75rem;
  .img {
    width: 100%;
    height: 11.5625rem;
  }
}
</style>